import ICommand from "./ICommand";

/**
 * 编辑的撤销与反撤销
 * created by Five on 2018-12-14 18:31:36
 */

export default class UndoRedo {
    private commands: Array<ICommand>;
    private lastExecuted: number = -1;

    constructor(commandLimit:number){
        
    }

    public Size(): number {
        return this.commands.length;
    }

    public LastExecuted(): number {
        return this.lastExecuted;
    }

}